Generate or edit an image with FLUX.2 [pro] (preview)
Submits an image generation or editing task with the FLUX.2 [pro] preview endpoint, where our latest quality and speed improvements land first. For stable production use, prefer FLUX.2 [pro] (/flux-2-pro).
Authorizations
Body
Text prompt for image generation.
"ein fantastisches bild"
Opaque identifier for the end user supplied by the calling platform.
1 - 256Disable automatic prompt upsampling for this request. FLUX.2 [pro] and [max] apply prompt upsampling by default; set this to true to generate from your prompt exactly as written.
Path to the input image.
Path to the second input image.
Path to the third input image.
Path to the fourth input image.
Path to the fifth input image.
Path to the sixth input image.
Path to the seventh input image.
Path to the eighth input image.
Optional seed for reproducibility.
42
Width of the image
x >= 64Height of the image
x >= 64Harm moderation tolerance from 0 to 7, with 0 the strictest. The route and organization determine the approved maximum and per-category ceilings. Unapproved levels return 422 with approved levels.
0 <= x <= 7jpeg, png, webp URL to receive webhook notifications
1 - 2083Optional secret for webhook signature verification

